He looked uncomfortable as he scored 15 before being trapped lbw in what was his last contribution.
Quinton de Kock has reversed his retirement from ODI cricket and has been named in both the ODI and T20I squads for the Pakistan tour.
South Africa will be without striker-bowler Kagiso Rabada for Tuesday's opening One Day International against England at Headingley, captain Temba Bavuma revealed ahead of the clash.
Salman Agha and Mohammad Rizwan both struck centuries as Pakistan completed their highest successful run chase in ODIs with a six-wicket win over South Africa.
India skipper KL Rahul said his side needed to be sharper in key moments but felt the toss played a decisive role in the home team's four-wicket loss to South Africa in the second ODI, in Raipur, on Tuesday.
Virat Kohli, Ruturaj Gaikwad hundreds help India set 359-run target in second ODI
Pakistan beat South Africa by six wickets in Wednesday's high-scoring contest in Karachi but not before tempers flared in the first innings when the tourists were batting.
A South African side missing several regulars will resume on 49 for one on the third morning after Zimbabwe made 251 in reply to the tourists' first-innings score of 418 for nine declared.
Teenager Lhuan-dre Pretorius scored 153 on debut and Corbin Bosch an unbeaten maiden century as a much-changed South Africa reached 418 for nine on the opening day of the first Test against Zimbabwe in Bulawayo on Saturday.
Heinrich Klaasen will captain South Africa in three Twenty20 matches against Pakistan next week.
Sunrisers Eastern Cape came up with a clinical performance with both bat and ball to register a 58-run bonus victory over Durban Super Giants in the SA20 match at Kingsmead.
Bavuma said his hamstring was 'feeling good' ahead of his return, and the South African skipper also confirmed he would bat at number three for the opening match of the three-game series behind openers Ryan Rickelton and Aiden Markram.
Aiden Markram will replace Temba Bavuma as South Africa captain for the first Test against Bangladesh later this month, Cricket South Africa said on Friday.
Rishabh Pant's place in the playing eleven is far from guaranteed, while Washington Sundar and Nitish Kumar Reddy are locked in a tight contest for the additional all-rounder's slot as India confront several selection dilemmas ahead of the first ODI against South Africa in Ranchi.
Ireland and South Africa will now play three One Day Internationals in Abu Dhabi, starting on Wednesday.
South Africa host Australia for three T20 matches from August 30 to September 3 and five ODIs from September 7 to 17.
Virat Kohli has two hundreds and a fifty in his last three innings, while Rohit Sharma has a hundred and two fifties in his last four outings.
South Africa's two heaviest defeats have transpired when they fielded first and were accompanied by a lack of discipline as well as dropped chances.
'As long as the guys understand the way that we want to try play as a team and can keep that close to them when playing in different leagues and tournaments. Then hopefully by the time we meet up for the World Cup, the guys are used to that brand and how we want to operate as a team.'
The BCCI bars active Indian cricketers -- international or domestic -- from playing in overseas leagues to protect the IPL's exclusivity.
With 20 points in their kitty, the Royals are within touching distance of becoming the first team to qualify for the play-offs.
Royal Challengers Bengaluru will be looking to secure play-off qualification as struggling Lucknow Super Giants aim to stay alive in the tournament when the two sides clash in the Indian Premier League match in Lucknow on Friday.
RCB were in red-hot form before the league's 10-day pause due to the India-Pakistan military conflict, winning four matches on the trot. But the break appears to have disrupted their momentum.
Gujarat Titans eye top-two finish as struggling LSG look to salvage pride
LSG made a big statement by buying Rishabh Pant for a massive Rs 27 crore -- making him the costliest purchase in the history of IPL auctions.
Rishabh Pant will aim to hit the refresh button after a wretched run, as Lucknow Super Giants make one last-ditch attempt to stay alive in the IPL play-offs race by winning their remaining three league matches, starting with the clash against Sunrisers Hyderabad in Lucknow on Monday.
Yashasvi Jaiswal smashed his maiden ODI hundred to power India to a 2-1 series win after they thrashed against South Africa by nine wickets in the third and final ODI.
The Indian Premier League (IPL) 2026 auction saw some foreign names earning big bucks, headlined by Aussie all-rounder Cameron Green
Lucknow Super Giants skipper Rishabh Pant's woeful form with the bat and Punjab Kings captain Shreyas Iyer's sublime touch have made Sunday's mid-table clash an engrossing contest -- one that could decisively shape the fortunes of either side as the IPL enters its business end.
Both DC and LSG have 10 points and a win will keep them safely perched in the higher echelons of the points table ahead of the jostlers.
With just two wins from seven games, the Royals, languishing at eighth on the table, come into the contest on the back of a gut-wrenching Super Over defeat to Delhi Capitals.
Chennai Super Kings have never experienced a worse phase in the Indian Premier League and their faltering batters will have to deliver to arrest their steep slide in a must-win game against an upbeat Lucknow Super Giants in Lucknow on Monday.
For the home side, it has been a season of mixed returns so far. After early defeats to Royal Challengers Bengaluru and Mumbai Indians, KKR roared back to form in their last outing -- a commanding win over Sunrisers Hyderabad.
Mumbai Indians and Lucknow Super Giants, both struggling in the Indian Premier League, will be looking to turn their fortunes around when they face each other on Friday.
Lucknow Super Giants skipper Rishabh Pant is looking to make his mark and secure a win in his team's first home game of the season.
Expect some fireworks for the highly-versatile Cameron Green along with Quinton de Kock, Matheesha Pathirana, Venkatesh Iyer and Ravi Bishnoi.
Ahead of the mini-auction, scheduled to be held in Doha on December 26, the 10 franchises have released their list of retained and released players.
Yadav anchored the innings with a sublime century in which he struck boundaries in all parts of the ground
Lucknow Super Giants (LSG) will be wary of Sunrisers Hyderabad's (SRH) aggressive batting approach when the two teams face off in the Indian Premier League (IPL) on Thursday.
A rampaging Mumbai Indians will look to maintain their winning run in a vital mid-table battle against a dangerous Lucknow Super Giants in an Indian Premier League clash here on Sunday.